﻿#ifndef WIDGETRESZIMG_H
#define WIDGETRESZIMG_H

#include <QHBoxLayout>
#include <QLabel>
#include <QWidget>

#include <core/mat.hpp>

class WidgetReszImg : public QWidget
{
  Q_OBJECT
public:

  explicit WidgetReszImg(QWidget *parent = nullptr);
  void setImg(cv::Mat img);
protected:
  void resizeEvent(QResizeEvent *event);
private:
  QLabel* image_label = new QLabel(this);

};

#endif // WIDGETRESZIMG_H
